import {createRouter, createWebHistory} from "vue-router";

const routes = [
    // 当在vite.config.js配置了自动解析文件后缀后，则可以自动寻找到index命名的文件
    {path: "/home", component: () => import('@/page/Home')}
]
const router = createRouter({
    routes: routes,
    history: createWebHistory()
})

export default router;
